package com.sxdz.controller.service.goods

import com.sxdz.controller.mapper.TGoodsBannerMapper
import com.sxdz.controller.service.BaseService
import com.sxdz.models.TGoodsBanner
import groovy.transform.CompileStatic
import groovy.transform.TypeChecked
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service
/**
 * Created by LiYan on 2016/8/4.
 */
@Service
@CompileStatic
@TypeChecked
class GoodsBannerService extends BaseService implements IGoodsBannerService{

    private TGoodsBannerMapper tGoodsBannerMapper
    @Autowired
    private setTGoodsBannerMapper(TGoodsBannerMapper tGoodsBannerMapper){
        this.tGoodsBannerMapper=tGoodsBannerMapper;
        super.baseMapper=tGoodsBannerMapper;
    }

    @Override
    Long addBasic(def obj) throws Exception {}

    @Override
    void modifyBasic(def obj) throws Exception {}

    @Override
    void delBasic(def obj) throws Exception {}

    TGoodsBanner findObj(Map<String, Object> params){
        return tGoodsBannerMapper.selectByParams(params)
    }
}
